import { i18n } from "../utils/locales/i18n";

// export const BASE_URL = 'http://192.168.16.113:8081'
// export const BASE_URL2 = 'http://192.168.16.113:8080'
// export const SOCKET_URL = 'ws://192.168.16.113:8080'
//
// export const geetestURL = 'http://192.168.16.113:8081/geetest'
// export const geetestURL_8080 = 'http://192.168.16.113:8080/geetest'

export const BASE_URL = 'https://oauth.filecashchain.io'
export const BASE_URL2 = 'https://www.coin4otc.com'
export const SOCKET_URL = 'wss://www.coin4otc.com'

export const geetestURL = 'https://oauth.filecashchain.io/geetest'
export const geetestURL_8080 = 'https://www.coin4otc.com/geetest'


export const PASS_REGEXP = new RegExp(/^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,20}$/)
export const PHONE_REGEXP_ZH = new RegExp(/^[1][3,4,5,7,8][0-9]{9}$/)
export const PHONE_REGEXP_HK = new RegExp(/^([5,6,7,8,9])\d{7}$/)
export const EMAIL_REG_EXP = new RegExp(/^[A-Za-z\d]+([-_.][A-Za-z\d]+)*@([A-Za-z\d]+[-.])+[A-Za-z\d]{2,4}$/)

export const LANG = {
    zh: '简体中文',
    tw: '繁体中文',
    en: 'English'
}

export const KYC_STATUS = {
    0: i18n.t('ks1'),
    1: i18n.t('ks2'),
    2: i18n.t('ks3'),
    3: i18n.t('ks4')
}

export const txStateType = {
    1: i18n.t('i217'),
    2: i18n.t('i218'),
    3: i18n.t('i219'),
    4: i18n.t('i220'),
}

// 充币工单状态
export const reType = {
    0: i18n.t('i221'),
    1: i18n.t('i222'),
    2: i18n.t('i223'),
}

export const MIME_LIST = {
    gif: 'image/gif',
    png: 'image/png',
    jpe: 'image/jpeg',
    jpeg: 'image/jpeg',
    jpg: 'image/jpg'
}

// 客服微信号
export const WECHAT = 'damonzzzhhh'
